package com.efast.dmom.mes.dao.entity;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.mes.dao.base.ConfigurationBaseEntityDao;
import com.efast.dmom.mes.entity.ProductRouteEntity;

public interface ProductRouteDao extends ConfigurationBaseEntityDao<ProductRouteEntity>{

	ProductRouteEntity getProductRouteByPartIdAndRouteId(@Param("partId") long partId,@Param("routeId") long routeId);
	List<ProductRouteEntity> getByPartId(long partId);
	
	ProductRouteEntity getProductRouteByPartNoAndPartVersion(@Param("partNo") String partNo,@Param("partVersion") String partVersion);
	
	List<ProductRouteEntity> getProductRouteEntityListByRouteId(long routeId);
	
}
